let LoopImages = function (imgArr, container) {
    this.imagesArray = imgArr;
    this.container = container;
};
LoopImages.prototype = {
    createImage() {console.log('LoopImages createImage function')},
    changeImage() {console.log('LoopImages changeImage function')}
};
let FadeLoopImg = function (imgArr, container, arrow) {
    LoopImages.call(this, imgArr, container);
    this.arrow = arrow;
};
FadeLoopImg.prototype = new LoopImages();
FadeLoopImg.prototype.changeImage = function () {console.log('FadeLoopImg changeImage function')};
let fadeImg = new FadeLoopImg(['01.jpg', '02.jpg'], 'slide', ['left.jpg', 'right.jpg']);
fadeImg.changeImage();
LoopImages.prototype.getImageLength = function () {
    return this.imagesArray.length;
};
FadeLoopImg.prototype.getContainer = function () {
    return this.container;
};
console.log(fadeImg.getImageLength());
console.log(fadeImg.getContainer());